package com.fg.cloud.manager.entry.agency.vo;

import java.math.BigDecimal;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fg.cloud.common.annotation.Column;
import com.fg.cloud.common.convert.CustomBigDecimalSerialize;
import com.fg.cloud.common.finals.Compare;
import com.fg.cloud.manager.entry.agency.AgencyProductEntity;


/**
 * 经销商-产品订货权限商品vo
 * @author around
 * @date 2017-6-26
 */
public class AgencyProductVo extends AgencyProductEntity {

	private static final long serialVersionUID = -15928884369414595L;

	/** 产品名称 */
	@Column(value="pi.productName", compare=Compare.LIKE)
	private String productName;

	/** 产品编码 */
	@Column(value="ps.productNumber", compare=Compare.LIKE)
	private String productNumber;

	/** 产品分类名称 */
	private String categoryName;
	
	/** 产品分类编码 */
	private String categoryNumber;

	/** 产品单位ID */
	@Column(value="pi.productUnit")
	private String unitId;
	
	/** 产品单位 */
	private String unitName;

	/** 产品价格 */
	@JsonSerialize(using=CustomBigDecimalSerialize.class)
	private BigDecimal productPrice;

	/** 产品规格 */
	private String productSpec;
	
	/** 产品主图 */
	private String productImg;
	
	
	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductNumber() {
		return productNumber;
	}

	public void setProductNumber(String productNumber) {
		this.productNumber = productNumber;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public BigDecimal getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}

	public String getProductSpec() {
		return productSpec;
	}

	public void setProductSpec(String productSpec) {
		this.productSpec = productSpec;
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	public String getProductImg() {
		return productImg;
	}

	public void setProductImg(String productImg) {
		this.productImg = productImg;
	}

	public String getCategoryNumber() {
		return categoryNumber;
	}

	public void setCategoryNumber(String categoryNumber) {
		this.categoryNumber = categoryNumber;
	}
	
	
}
